<?php
use yii\web\View;
use backend\models\activeRecords\SpreadUrl;

/* @var $this View */
/* @var $model SpreadUrl */

$this->title = Yii::t('app', 'Update {modelClass}: ', [
    'modelClass' => 'Spread Url',
]) . $model->id;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Spread Urls'), 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]];
$this->params['breadcrumbs'][] = Yii::t('app', 'Update');


$js =<<<js
    $("#spreadurl-game_id").attr("disabled",'disabled');
js;
$this->registerJs($js);

?>
<div class="spread-url-update">
    <?= $this->render('_form', ['model' => $model]) ?>
</div>